<template>
  <div>
      <span v-text="msg" class="red"></span>
      <router-link to="/login">登录</router-link>
      <router-link to="/register">注册</router-link>
      <!--占位-->
      <router-view></router-view>
  </div>
</template>
<script>
export default {
  data(){
      return{
          msg:"hello vuejs"
      }
  },
  methods:{

  },
  created(){

  }
}
</script>
<style scoped>
    .red{
            color: red;
    }
</style>

